package com.hziee.graduate.ticket.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_comment")
public class Comment extends Model<Comment> {

    private Long movieId;
    //该评论是哪个用户评价的
    private Long userId;
    //该评论的内容
    private String commentContent;
    //电影评分
    private double commentScore;

    private LocalDateTime createTime;

}

